API Documentation
IndexFormat.h
1 // IndexFormat.h
3 //
5 
6 namespace nkGraphics
7 {
11  enum class INDEX_FORMAT
12  {
13  UINT16 = 0,
14  UINT32
15  } ;
16 
20  class IndexFormatUtils final
21  {
22  public :
23 
24  // Translation
29  static unsigned int getFormatByteSize (INDEX_FORMAT format) ;
30  } ;
31 }
nkGraphics::INDEX_FORMAT
INDEX_FORMAT
Enumerates all formats supported for indices in a mesh.
Definition: IndexFormat.h:12
nkGraphics::IndexFormatUtils
Provides utility functions around the INDEX_FORMAT enum.
Definition: IndexFormat.h:21
nkGraphics::INDEX_FORMAT::UINT16
@ UINT16
Unsigned short.
nkGraphics::IndexFormatUtils::getFormatByteSize
static unsigned int getFormatByteSize(INDEX_FORMAT format)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::INDEX_FORMAT::UINT32
@ UINT32
Unsigned integer.